import QtQuick
import QtQuick.Controls

import "qrc:/usv_bridge/UI/"

Rectangle {
    id:left_panel

    width: 327
    color:"#00000000"

    anchors{
        top: parent.top
        topMargin: 5
        left: parent.left
        leftMargin: 5
    }

    //罗盘
    HDGSlider{
        id: hdg_slider
        width: 327
        height: 325
        anchors{
            horizontalCenter: parent.horizontalCenter
        }
    }

    //set head angle
    GPSShow{
        id: gps_show
        width: 327
        height: 255
        anchors{
            top: hdg_slider.bottom
            topMargin: -5
            horizontalCenter: parent.horizontalCenter
        }
    }

    //set speed
    SpeedShow{
        id: speed_show
        height: 100
        anchors{
            top: gps_show.bottom
            topMargin: 5
            horizontalCenter: parent.horizontalCenter
        }
    }

    //depth show
    DepthShow{
        id: depth_show
        height: 100
        anchors{
            top: speed_show.bottom
            topMargin: 5
            horizontalCenter: parent.horizontalCenter
        }
    }

    //pitch and row
    PitchAndRow{
        id: pitch_and_row
        anchors{
            top: depth_show.bottom
            topMargin: 5
            horizontalCenter: parent.horizontalCenter
            bottom: parent.bottom
        }
    }
}
